<?php

use Illuminate\Database\Seeder;

/**
 * 接口应用数据填充
 */
class ApiAppSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $sql = <<<EOD
        INSERT INTO `api_apps` VALUES ('f748864cb16db706be1e408cb49771a3', 1, 'ce57ec31a9f4f37dfbf810c2e4ea79f0', 'erter', 0, NULL, NULL);
        INSERT INTO `api_apps` VALUES ('wechat_mini_program_shop', 1, 'ce57ec31a9f4f37dfbf810c2e4ea79f0', '微信商城小程序', 0, NULL, NULL);
        INSERT INTO `api_apps` VALUES ('wechat_old_system', 1, 'ce57ec31a9f4f37dfbf810c2e4ea79f0', '微信服务号旧系统', 0, NULL, NULL);
EOD;
        DB::unprepared($sql);
    }
}
